Appliance Update Pending Question

Appliance Update Pending Question
Appliance Update Pending Question

The Appliance Update Pending Question schema describes a item of information that must be provided by the user in order to install the update.

This schema was added in vSphere API 6.7.

JSON Example
{
    "data_item": "string",
    "text": {
        "id": "string",
        "default_message": "string",
        "args": [
            "string"
        ],
        "params": {
            "params": {
                "s": "string",
                "dt": "string",
                "i": 0,
                "d": "number",
                "l": "Vapi Std NestedLocalizableMessage Object",
                "format": "string",
                "precision": 0
            }
        },
        "localized": "string"
    },
    "description": {
        "id": "string",
        "default_message": "string",
        "args": [
            "string"
        ],
        "params": {
            "params": {
                "s": "string",
                "dt": "string",
                "i": 0,
                "d": "number",
                "l": "Vapi Std NestedLocalizableMessage Object",
                "format": "string",
                "precision": 0
            }
        },
        "localized": "string"
    },
    "type": "string",
    "allowed_values": [
        "string"
    ],
    "regexp": "string",
    "default_answer": "string"
}
string
data_item
Required

ID of the data item

This property was added in vSphere API 6.7.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.applicance.update.pending.dataitem. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.applicance.update.pending.dataitem.

text
Required

Label for the item to be used in GUI/CLI

This property was added in vSphere API 6.7.

description
Required

Description of the item

This property was added in vSphere API 6.7.

string
type
Required

How this field shoudl be represented in GUI or CLI

For more information see: Appliance Update Pending Question InputType.

This property was added in vSphere API 6.7.

array of string
allowed_values
Optional

List of allowed values

This property was added in vSphere API 6.7.

allowedValues If missing or null any value is valid.

string
regexp
Optional

Regexp to validate the input

This property was added in vSphere API 6.7.

regexp If missing or null no validation will be performed.

string
default_answer
Optional

Default answer

This property was added in vSphere API 6.7.

defaultAnswer If missing or null then there is no default answer, so an explicit answer must be provided